<style>
  .{{$template|escape:'html'}}_table1 {
    width: 900px;
    height: 24px;
    margin-bottom: 5px;
  }
  .{{$template|escape:'html'}}_table2 {
    width: 270px;
    height: 23px;
    border-top:solid 1px #885b5d;
    border-left:solid 1px #885b5d;
  }
  .{{$template|escape:'html'}}_table2 td {
    border-bottom:solid 1px #885b5d;
  }
  .{{$template|escape:'html'}}_table3 {
    width: 900px;
    tex-talign:left;
  }
  .{{$template|escape:'html'}}_td1 {
    width: 900px;
    text-align: left;
    padding-bottom:5px;
  }
  .{{$template|escape:'html'}}_td2 {
    background-color: #885b5d;
    border-right:solid 1px #fff;
    width: 150px;
    height: 23px;
    font-family:;
    font-weight:bold;
    font-size:10pt;
    letter-spacing:2px;
    color:white;
    text-align: center;
    vertical-align:middle;
  }
  .{{$template|escape:'html'}}_td3 {
    background-color: #885b5d;
    width: 120px;
    height: 22px;
    font-family:;
    font-weight:bold;
    font-size:10pt;
    color:white;
    text-align:left;
    padding-left:15px;
    vertical-align:middle;
  }
  .{{$template|escape:'html'}}_Text {
    width:150px;
    height:18px;
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
  }
</style>

<script src="jsrequest.php?script={{$template|escape:'html'}}" type="text/javascript"></script>
<script type="text/javascript">
  <!--
    if (document.addEventListener) {
      document.addEventListener('DOMContentLoaded', init, false);
    }
    window.onload = init;

    function init() {
      if (!document.getElementById || !document.createElement || !arguments || arguments.callee._loaded) {
        return;
      }
      arguments.callee._loaded = true;
      var gui = GuiPageWeeklyWage.instance('{{$template|escape:'javascript'}}');
      var options = { template: '{{$template|escape:'javascript'}}' };
      new HandlePageWeeklyWage(gui, JSON.parse('{{$operator|escape:javascript}}'), JSON.parse('{{$now|escape:javascript}}'), options);
    }
  //-->
</script>

<div align="left" style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}">
<table class="{{$template|escape:'html'}}_table1" cellPadding="0" cellSpacing="0">
  <tr>
    <td class="{{$template|escape:'html'}}_td1"></input>
      <input type="text" class="{{$template|escape:'html'}}_Text" id="{{$template|escape:'html'}}_date_text">
      <input type="button" value="Pay Now" id="{{$template|escape:'html'}}_pay_button"></input>
    </td>
  </tr>
  <tr>
    <td id="{{$template|escape:'html'}}_pagination_div"></td>
  </tr>
  <tr>
    <td align = "left">
      <table class="{{$template|escape:'html'}}_table2" id="{{$template|escape:'html'}}_main_table" cellPadding="0" cellSpacing="0" border=0>
        <tr style="">
          <td class="{{$template|escape:'html'}}_td2">Date</td>
          <td class="{{$template|escape:'html'}}_td3">Total</td>
        </tr>
      </table>
    </td>
  </tr>
</table>

<table class="{{$template|escape:'html'}}_table3" cellPadding="0" cellSpacing="0">
</table>
</div>
